package com.laoli.service;

import com.laoli.entity.UserDTO;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: lfw
 * @Date: 2022/04/04/18:26
 * @Description:
 */
public interface UserService {
    //登录
    UserDTO login(String phone,String password);
    //检验token
    UserDTO checkToken(String token);
    //注册用户
    Integer register(String phone, String password, String nickname, String headimg);
}
